typedef struct{
    float _ia;
    float _ib;
    float _ic;
}_motor_iabc_t;

typedef struct{
    float _ial;
    float _ibe;
}_motor_iab_t;

typedef struct{
    float _id;
    float _iq;
}_motor_idq_t;

typedef struct{
	_motor_iabc_t motor_iabc_t;
	_motor_iab_t  motor_iab_t;
	_motor_idq_t  motor_idq_t;
}motor_inf_t;

void get_m_inf(float theta);
extern motor_inf_t motor_inf;
